stack: Don't transition when the visible child is remove
authorMatthias Clasen <mclasen@redhat.com>
Sun, 25 Oct 2020 00:54:55 +0000 (20:54 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 25 Oct 2020 00:54:55 +0000 (20:54 -0400)
commit434b145ee0199989c1772706ef1dec0722fc75f2
tree18536ca5aed2880f18f45b2b5109131a5b1eb0e0
parent2546b8866102951493a765cb4a8bdef266f8f4db
stack: Don't transition when the visible child is remove

This is a corner-case, and it is causing crashes in
the shortcuts window, after a11ab6c995a38fde0eba.
gtk/gtkstack.c